Repository navigation
feat(id-core): TransportAdvertisement v1 sign/verify + selection + sequence (#8214 slice 1) - #10951
Conversation
…9 sign/verify, freshest-wins selection, durable sequence (#8214 slice 1)
Codex Review Summary: ❌ FailedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
Warning Review limit reachedYou've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. Next included review available in 13 minutes. View limit details
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. |
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
Slice 1 of #8214 (per the #5793 decision record and lane code-e triage on task 18603): the TransportAdvertisement v1 type in id-core with domain-separated canonical encoding (id-transport-advertisement/v1 || sorted-key JSON), Ed25519 sign/verify against the pinned subject identity, freshest-valid-wins selection across substrates (expired = flagged-degraded last-known-good only), TTL <= 24h and clock-skew rules, and a durable file-backed sequence counter that never regresses across restarts (invariant 8). ed25519-dalek moves from dev-dependencies to dependencies in id-core (same version/features as the rest of the workspace). Tests (oracle: the decision record invariants 1-3, 8): 9 new tests — round-trip + priority order, canonical stability, hostile forged signature, hostile altered transports, replayed older sequence, disagreement highest-sequence in both fetch orders, expired degraded LKG, wrong subject / overlong TTL, sequence monotonic across reloads. Full id-core lib suite: 459 passed, 0 failed. cargo fmt clean. cargo clippy could not run: the pooled target dir carries crates built by rustc 1.99.0 vs clippy 1.99.1 (26 E0514 errors across unrelated crates, pre-existing). Remaining #8214 slices (fetch/verify/cache client substrates, .well-known serving handler, server minting) are scoped on the issue note; task 20089 parks for them. Task 20089, lane code-d.
Open in [code]smith · Need help on this PR? Tag
@codesmith-botwith what you need.